package com.common.pojo.entity;

import java.time.LocalDateTime;

/**
 * @Brief 实体类父类
 * @Author chenyl
 * @Date 2023-08-03
 * @Version 1.0.0
 */
public class BaseDO {
    /**
     * 删除标志：false-未删除，true-已删除
     */
    private Boolean isDelete;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 创建人编码
     */
    private String createUserCode;
    /**
     * 最后一次修改时间
     */
    private LocalDateTime updateTime;
    /**
     * 最后一次操作人编码
     */
    private String updateUserCode;


    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserCode() {
        return createUserCode;
    }

    public void setCreateUserCode(String createUserCode) {
        this.createUserCode = createUserCode;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUserCode() {
        return updateUserCode;
    }

    public void setUpdateUserCode(String updateUserCode) {
        this.updateUserCode = updateUserCode;
    }

    @Override
    public String toString() {
        return "BaseDO{" +
                "isDelete=" + isDelete +
                ", createTime=" + createTime +
                ", createUserCode='" + createUserCode + '\'' +
                ", updateTime=" + updateTime +
                ", updateUserCode='" + updateUserCode + '\'' +
                '}';
    }
}
